package com.hsogoo.study.springmvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author huangsaigang
 * Created @2019-08-16.
 */
@RestController
public class HelloController {

    @RequestMapping("/test")
    public String hello(){
        return "hello spring mvc without web.xml";
    }


}
